package com.hwd.srb.core.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.hwd.srb.core.enmu.UserBindEnum;
import com.hwd.srb.core.enmu.UserStatusEnum;
import com.hwd.srb.core.enmu.UserTypeEnum;
import com.hwd.srb.core.pojo.entity.UserInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.awt.*;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.ArrayList;

/**
 * <p>
 * 用户基本信息
 * </p>
 *
 * @author 黄伟东/Victor
 * @since 2022-03-10
 */
@Data
@ApiModel(description = "用户分页查询列表基本信息")
public class UserInfoPageVO {//TODO

    @ApiModelProperty(value = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "1：出借人 2：借款人")
    private UserTypeEnum userType;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "绑定状态（0：未绑定，1：绑定成功 -1：绑定失败）")
    private UserBindEnum bindStatus;

    @ApiModelProperty(value = "用户积分")
    private Integer integral;

    @ApiModelProperty(value = "状态（0：锁定 1：正常）")
    private UserStatusEnum status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

}
